package cn.hongwei.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Great
 * @email 1224028994@qq.com
 */
@TableName("users")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Users {
    @TableId
    @TableField("id")
    private Long id;
    //用户名
    @TableField("users_name")
    private String usersName;
    //用户编号，不允许重复
    @TableField("users_no")
    private String usersNo;
    //逻辑删除字段 1ok 0删除
    @TableLogic
    @TableField("status")
    private Integer status;
}
